<template>
	<view>
		<u-modal v-model="show" :show-title="showTitle" :title="title" :content="content" :confirm-text="confirmText" :cancel-text="cancelText"
			cancel-color="#333333" :show-cancel-button="true" confirm-color="#4DC0D9" @confirm="confirm"
			@cancel="cancel">
			<view class="slot-content">
				<rich-text :nodes="content"></rich-text>
			</view>
		</u-modal>
	</view>
</template>

<script>
	export default {
		props: {
			showTitle:{
				default: true,
				required: false
			},
			show: {  
				default: true,
				required: false
			},
			title:{
				default: '',
				required: false
			}
			content: {
				default: '111',
				required: false
			},
			confirmText: {
				default: '确认',
				required: false
			},
			cancelText: {
				default: '取消',
				required: false
			},
			isCancelButton: {  //取人按钮是否需要
				default: false,
				required: false
			},
		},
		// computed:{
			
		// }
		data() {
			return {
			
			}
		},
		mounted() {
			//console.log(this.show,123111);
		},
		methods: {
			confirm(){
				this.$emit('confirmBth','oooo')
			},
			cancel(){
				this.$emit('cancel')
			}
		},
	}
</script>

<style lang="scss" scoped>

</style>